package com.zhuss.util;

public class CardUtil {
	
	public static String genVisitCardNo(Long visitId) {
		String str = visitId + "";
        while (str.length() < 19){
            String num = "0";
            str = num + str;
        }
        str = "V" + str;
        return str;
	}
	
	public static String genMeetingCardNo(Long applyId) {
		String str = applyId + "";
		while (str.length() < 19){
			String num = "0";
			str = num + str;
		}
		str = "M" + str;
		return str;
	}
	
	public static void main(String[] args) {
		System.out.println(genVisitCardNo(1l));
		System.out.println(genMeetingCardNo(1l));
	}

}
